package com.qiaofang.applet.service.other.service.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
@ApiModel("首页搜索条件DTO")
public class MainSearchQueryDTO {
    @ApiModelProperty("搜索类型 新房/二手房/租房/小区")
    @NotNull(message = "搜索类型不能为空")
    private String searchType;

    @ApiModelProperty("搜索名称")
    private String searchName;

    @ApiModelProperty("城市code")
    private String cityCode;


}
